package com.mine.modules.sys.service;


import com.mine.common.domain.dto.LoginModel;
import com.mine.common.domain.vo.Result;
import com.mine.modules.sys.domain.dto.LoginDto;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ILoginService {

    Result<Object> login(LoginDto loginDto) throws Exception;

    Result<Object> logout(HttpServletRequest request, HttpServletResponse response);

    Result<String> randomImage(HttpServletResponse response,String key);

}
